﻿using System.Web.Mvc;

public class HomeController : Controller
{
    public ViewResult Index()
    {
        int hr = System.DateTime.Now.Hour;
        ViewData["greeting"] = (hr > 12 ? "Good Afternoon" : "Good Morning");
        return View();
    }

    public ViewResult RsvpForm()
    {
        return View();
    }
}